﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<ProjectMadaktariMVC.Models.Hospital>" %>
<%
    using (Html.BeginForm())
    using (var db = ProjectMadaktariMVC.Models.DBFactory.CreateContext())
    {
        Response.Write("<div id=\"domainForm\">");
        Response.Write("<div class=\"form_block\">");
        Response.Write("<span class=\"form_label\"><label for=\"HospitalId\">Domain List</label></span>");
        Response.Write(ProjectMadaktariMVC.Helpers.ConfigurationHelper.HospitalDropDown(db, "HospitalId", Model.Id));
        Response.Write("</div>");
        Response.Write("</div>");
    }
%>